package com.gxa.domain.entity;



import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("cable_plan")
public class CablePlan implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //项目编号
    @ExcelProperty(value = {"项目编号"}, index = 0)
    private String projectId;
    //项目名称
    @ExcelProperty(value = {"项目名称"}, index = 1)
    private String projectName;
    //电缆名称
    @ExcelProperty(value = {"电缆名称"}, index = 2)
    private String cableName;
    //电压等级
    @ExcelProperty(value = {"电压等级"}, index = 3)
    private String voltageName;
    //电缆截面
    @ExcelProperty(value = {"电缆截面"}, index = 4)
    private String extractionLength;
    //抽取时间
    @ExcelProperty(value = {"抽取时间"}, index = 5)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date extractionDate;
    //入库状态 0-未入库 1-已入库
    @ExcelProperty(value = {"入库状态"}, index = 6)
    private Integer receivingStatus;
    //入库数量
    @ExcelProperty(value = {"入库数量"}, index = 7)
    private String receivingNumber;
    //出库状态 0-未出库 1-已出库
    @ExcelProperty(value = {"出库状态"}, index = 8)
    private Integer shippingStatus;
    //出库数量
    @ExcelProperty(value = {"出库数量"}, index = 9)
    private String shippingNumber;
    //派单状态 0-未派单 1-已派单
    @ExcelProperty(value = {"派单状态"}, index = 10)
    private Integer dispatchStatus;
    //计划状态
    @ExcelProperty(value = {"计划状态"}, index = 11)
    private Integer planStatus;


}
